import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import "../component" as C
import "qrc:/component/ZGlobal.js" as Global
C.ZModelRect {
    id: rootInfoPage
    clip: true
    width:500
    height:160
    color:"transparent"
    visible: false
    property alias msg: label.text
    Image {
        anchors.fill: parent
        source: "qrc:/assets/warning_bg.png"  // 图片路径
        fillMode: Image.PreserveAspectCrop  // 保持宽高比并填充
    }
    Image{
        x:20;y:32;
        source: "qrc:/assets/warning.png"
        fillMode: Image.PreserveAspectCrop  // 保持宽高比并填充
    }
    Label{
        id: label
        x:96;y:47;
        text: "气源未开"
        font.pixelSize: 26
        color:"#191A1A"
    }
    Image{
        x:464;y:16;
        source:"qrc:/assets/close.png"
        MouseArea{
            anchors.fill: parent
            onClicked: {
                rootInfoPage.visible=false;
            }
        }
    }
}

